<div class="bjui-pageContent" >
        <div data-layout-h="0">
                <!-- 内容区 -->
                <form action="{:U('Operating/contract_add')}" name="contractaddform" class="pageForm nice-validator n-red"   data-loadingmask='false' data-toggle="validate" novalidate="novalidate" method="post" >
                        <input type="hidden" name="id" value="{$_GET.id|default=''}" />
                        <!-- navtab类型判断 -->
                        <input type="hidden" name="navTabname" value="Operating/contract" />
                        <table  style="margin-top: 20px;">
                                <tr >
                                        <td><label style='margin-left:40px;'>合同名称：</label></td>
                                        <td>
                                                <input type="text" name="title" data-rule="required" size="40"  value="{$contract.title|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <td width='150'><label style='margin-left:40px;'>合同类别：</label></td>
                                        <td>
                                                <select data-toggle="selectpicker" data-rule='required'name="type" >
                                                        <option value="">选择合同类别</option>
                                                        <option value="1" {eq name="contract.type" value="1"}selected{/eq}>国内</option>
                                                        <option value="2" {eq name="contract.type" value="2"}selected{/eq}>出境</option>
                                                </select>  
                                        </td>

                                </tr> 
                                <tr>
                                        <td width='150'><label style='margin-left:40px;'>合同内容：</label></td>
                                        <td>
                                                <textarea cols="60" data-min-height='200' data-toggle="kindeditor" name="content" data-items="fontname, fontsize, |, forecolor, hilitecolor, bold, italic, underline, removeformat">{$contract.content|default=''}</textarea>
                                        </td>

                                </tr>


                        </table>
                </form>
        </div>

</div>
<div class="bjui-pageFooter" border='none'>
        <ul>
                <li><button type="button" class="btn btn-close">关闭</button></li>
                <li><button type="submit" class="btn btn-default">提交</button></li>
        </ul>
</div>
